public class Animal {
    int age;
    String name;

    public Animal(int a,String b){
        age=a;
        name=b;
    }

    public void eat(){
        System.out.println(name+"正在吃饭");
    }
}
